//HEAD 
(function(app) {
try { app = angular.module("main"); }
catch(err) { app = angular.module("main", []); }
app.run(["$templateCache", function($templateCache) {
"use strict";

$templateCache.put("../app/pages/attr/attr.html","<div>\n" +
    "	78999\n" +
    "</div>")

$templateCache.put("../app/pages/dashBroad/dashBroad.html","<div class=\"\">\n" +
    "	<div class=\"row\">\n" +
    "		<dash-card></dash-card>	\n" +
    "	</div>\n" +
    "	<div class=\"row\">\n" +
    "		<div class=\"col s12 m6 mt50\" style=\"height: 400px;\">\n" +
    "			<chart-dash-pie></chart-dash-pie>\n" +
    "		</div>\n" +
    "		<div class=\"col s12 m6 mt50\" style=\"height: 400px;\">\n" +
    "			<chart-line configline='configline'></chart-line>\n" +
    "		</div>\n" +
    "	</div>\n" +
    "</div>\n" +
    "")

$templateCache.put("../app/pages/lasty/lasty.html","<div>\n" +
    "	attr\n" +
    "</div>\n" +
    "")

$templateCache.put("../app/pages/login/login.html","\n" +
    "<div class=\"container\" style=\"max-width: 600px;\">\n" +
    "<style>\n" +
    "  .mt100{\n" +
    "    margin-top: 100px;\n" +
    "  }\n" +
    "</style>\n" +
    "  <form class=\"col s12\" name=\"loginform\">\n" +
    "    <div class=\"row\">\n" +
    "      <div class=\"input-field col s12\">\n" +
    "        <input id=\"username\" type=\"text\" ng-class=\"{'invalid':User.nameError,'validate':!User.nameError}\" ng-model=\"User.name\" ng-blur=\"User.checkName()\">\n" +
    "        <label for=\"username\" ng-class=\"{'active':User.rememberStuff}\">手机号/邮箱</label>\n" +
    "        <div class=\"red-text text-darken-2\" ng-if=\"User.nameError != ''\" ng-bind=\"User.nameError\"></div>\n" +
    "      </div>\n" +
    "    </div>\n" +
    "    <div class=\"row\">\n" +
    "      <div class=\"input-field col s12\">\n" +
    "        <input id=\"password\" type=\"password\" ng-class=\"{'invalid':User.passwordError,'validate':!User.passwordError}\" ng-model=\"User.password\" ng-focus=\"User.passwordError='';\">\n" +
    "        <label for=\"password\" ng-class=\"{'active':User.rememberStuff}\">密码</label>\n" +
    "        <div class=\"red-text text-darken-2\" ng-if=\"User.passwordError != ''\" ng-bind=\"User.passwordError\">密码错误</div>\n" +
    "      </div>\n" +
    "    </div>   \n" +
    "    <div class=\"row\">\n" +
    "      <div class=\"col s12\">\n" +
    "        <input type=\"checkbox\" id=\"user-remember\" checked=\"checked\" ng-model=\"User.remember\"/>\n" +
    "        <label for=\"user-remember\">记住密码</label>\n" +
    "        <a href=\"#/forget\" class=\"red-text text-darken-2 ml20 hover-underline\">忘记密码？</a>\n" +
    "        <a href=\"#/reg\" class=\"right red-text text-darken-2 hover-underline\">立即注册</a>\n" +
    "      </div>\n" +
    "    </div>\n" +
    "    <div class=\"row\">\n" +
    "\n" +
    "      <div class=\"waves-effect waves-light btn col s12 red hoverable\" ng-click=\"User.login()\">登 录</div>\n" +
    "    </div>\n" +
    "  </form>\n" +
    "\n" +
    "</div>  \n" +
    "")

$templateCache.put("../app/pages/reg/reg.html","<div class=\"unloginpage\">\n" +
    "  <div class=\"row\">\n" +
    "  <div ng-class=\"{'col s12':mobile,'col s4 offset-s4':!mobile,'mb20':true}\">\n" +
    "      <ul class=\"tabs\" style=\"overflow: hidden;\">\n" +
    "        <li class=\"tab col s6\"><a class=\"active\" href=\"#phoneReg\">手机注册</a></li>\n" +
    "        <li class=\"tab col s6\"><a href=\"#emailReg\">邮箱注册</a></li>\n" +
    "      </ul>\n" +
    "    </div>\n" +
    "    <form id=\"phoneReg\" ng-class=\"{'col s12':mobile,'col s4 offset-s4':!mobile}\">\n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s12\">\n" +
    "          <input id=\"reg-email\" type=\"email\" ng-class=\"{'invalid':User.emailError,'validate':!User.emailError}\" ng-model=\"User.email\" ng-blur=\"User.checkPhone()\">\n" +
    "          <label for=\"reg-email\">手机号</label>\n" +
    "          <div class=\"red-text text-darken-2\" ng-if=\"User.phoneError != ''\" ng-bind=\"User.emailError\"></div>\n" +
    "        </div>\n" +
    "      </div>   \n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s6\">\n" +
    "          <input id=\"reg-code\" type=\"text\" class=\"validate\" ng-model=\"User.code\">\n" +
    "          <label for=\"reg-code\">验证码</label>\n" +
    "        </div>\n" +
    "        <div class=\"input-field  col s6\">\n" +
    "          <label class=\"ui button hoverable\" ng-show=\"!User.getCodeStuff\" ng-click=\"User.getCode()\">获取验证码</label>\n" +
    "          <label class=\"ui button\" disabled ng-show=\"User.getCodeStuff\">{{scond}}s后重试</label>\n" +
    "        </div>\n" +
    "      </div> \n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s12\">\n" +
    "          <input id=\"reg-password\" type=\"password\" class=\"validate\" ng-model=\"User.password\">\n" +
    "          <label for=\"reg-password\">密码</label>\n" +
    "        </div>\n" +
    "      </div>\n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s12\">\n" +
    "          <input id=\"reg-password-c\" type=\"password\" ng-class=\"{'invalid':User.passwordError,'validate':!User.passwordError}\" ng-model=\"User.password2\">\n" +
    "          <label for=\"reg-password-c\">确认密码</label>\n" +
    "          <div class=\"red-text text-darken-2\" ng-if=\"User.passwordError != ''\" ng-bind=\"User.passwordError\"></div>\n" +
    "        </div>\n" +
    "      </div>\n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"col s12\">\n" +
    "          <a href=\"#!/login\" class=\"right red-text text-darken-2 hover-underline\">已有账号，立即登录</a>\n" +
    "        </div>\n" +
    "      </div>\n" +
    "      <div class=\"row\">\n" +
    "        <button class=\"col s12 waves-effect waves-light btn red hoverable\" ng-click=\"User.reg()\">注册</button>\n" +
    "      </div>\n" +
    "    </form>\n" +
    "    <form id=\"emailReg\" ng-class=\"{'col s12':mobile,'col s4 offset-s4':!mobile}\">\n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s12\">\n" +
    "          <input id=\"reg-name\" type=\"text\" ng-class=\"{'invalid':User.nameError,'validate':!User.nameError}\" ng-model=\"User.name\" ng-blur=\"User.checkName()\">\n" +
    "          <label for=\"reg-name\">邮箱</label>\n" +
    "          <div class=\"red-text text-darken-2\" ng-if=\"User.nameError != ''\" ng-bind=\"User.nameError\"></div>\n" +
    "        </div>\n" +
    "      </div>    \n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s6\">\n" +
    "          <input id=\"reg-code\" type=\"text\" class=\"validate\" ng-model=\"User.code\">\n" +
    "          <label for=\"reg-code\">验证码</label>\n" +
    "        </div>\n" +
    "        <div class=\"input-field  col s6\">\n" +
    "          <label class=\"ui button hoverable\" ng-show=\"!User.getCodeStuff\" ng-click=\"User.getCode()\">获取验证码</label>\n" +
    "          <label class=\"ui button\" disabled ng-show=\"User.getCodeStuff\">{{scond}}s后重试</label>\n" +
    "        </div>\n" +
    "      </div> \n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s12\">\n" +
    "          <input id=\"reg-password\" type=\"password\" class=\"validate\" ng-model=\"User.password\">\n" +
    "          <label for=\"reg-password\">密码</label>\n" +
    "        </div>\n" +
    "      </div>\n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"input-field col s12\">\n" +
    "          <input id=\"reg-password-c\" type=\"password\" ng-class=\"{'invalid':User.passwordError,'validate':!User.passwordError}\" ng-model=\"User.password2\">\n" +
    "          <label for=\"reg-password-c\">确认密码</label>\n" +
    "          <div class=\"red-text text-darken-2\" ng-if=\"User.passwordError != ''\" ng-bind=\"User.passwordError\"></div>\n" +
    "        </div>\n" +
    "      </div>\n" +
    "      <div class=\"row\">\n" +
    "        <div class=\"col s12\">\n" +
    "          <a href=\"#!/login\" class=\"right red-text text-darken-2\">已有账号，立即登录</a>\n" +
    "        </div>\n" +
    "      </div>\n" +
    "      <div class=\"row\">\n" +
    "        <button class=\"col s12 waves-effect waves-light btn red hoverable\" ng-click=\"User.reg()\">注册</button>\n" +
    "      </div>\n" +
    "    </form>\n" +
    "  </div>\n" +
    "</div>")

$templateCache.put("../app/tpls/chart-line/chartLine.html","<section class=\"box\">\n" +
    "    <header class=\"panel_header\">\n" +
    "        <h2 class=\"title pull-left\">{{configline.title}}</h2>\n" +
    "    </header>\n" +
    "    <div class=\"content-body\" style=\"padding: 0;\">\n" +
    "        <div class=\"row\" style=\"height: 100%\">\n" +
    "            <div class=\"col s12\" style=\"height: 100%\">\n" +
    "                <div id=\"chartLine\" style=\"height: 100%\"></div>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</section>\n" +
    "")

$templateCache.put("../app/pages/dashBroad/chart-dash-pie/chartDashPieView.html","<section class=\"box\">\n" +
    "    <header class=\"panel_header\">\n" +
    "        <h2 class=\"title pull-left\">{{yuetitle}}</h2>\n" +
    "        <div class=\"actions panel_actions pull-right\">\n" +
    "            <style>\n" +
    "                .switch {}\n" +
    "                \n" +
    "                .icon-default {\n" +
    "                    color: #757575!important;\n" +
    "                    opacity: 1;\n" +
    "                }\n" +
    "\n" +
    "                .switch .icon-secondary {\n" +
    "                    opacity: .8;\n" +
    "                }\n" +
    "            </style>\n" +
    "            <span class=\"switch\">\n" +
    "                <i class=\"material-icons md-18\" ng-class = \"{'icon-default': chartType == 'pie','icon-secondary':chartType != 'pie'}\" ng-click = \"switchChartType('pie')\">pie_chart</i>\n" +
    "                <i class = \"material-icons md-18\" ng-class = \"{'icon-default': chartType == 'bar','icon-secondary':chartType != 'bar'}\" ng-click = \"switchChartType('bar')\">insert_chart</i>\n" +
    "                <i class=\"material-icons backLast md-18\" title=\"点我返回上一步\">reply</i>\n" +
    "                <i class=\"material-icons backTop md-18\" title = \"点我返回顶部 \">reply_all</i>\n" +
    "                <i class=\"material-icons md-18\" title =\"最鲜商机\" ng-click=\"toWordCloud()\" ng-show=\"isLastCategory && userInfo.version=='pro' \">local_offer</i>               \n" +
    "               \n" +
    "            </span>\n" +
    "        </div>\n" +
    "    </header>\n" +
    "    <div class=\"content-body\" style=\"padding: 0;\">\n" +
    "        <div class=\"row\" style=\"height: 100%\">\n" +
    "            <div class=\"col s12\" style=\"height: 98%\">\n" +
    "                <div class=\"chart-container\" style=\"height: 100%\" my-full-screen full-screen-func=\"screenResize()\"></div>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</section>\n" +
    "")

$templateCache.put("../app/pages/dashBroad/dashCardDire/dashCardView.html","<div>\n" +
    "    <div class=\"col s12 m3\">\n" +
    "        <div class=\"info-tile\">\n" +
    "            <div class=\"tile-icon\" style=\"left: -73px;\">\n" +
    "                <i class=\"material-icons\" style=\"color:teal\">show_chart</i>\n" +
    "            </div>\n" +
    "            <div class=\"tile-heading clearfix\">\n" +
    "                <span>月销售额 {{cur_cat_stat_data.sellMoneyGrowth>0}}</span>\n" +
    "                <span style=\"font-size: 12px;float: right;\">更新于{{cur_cat_stat_data.date}}</span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-body\">\n" +
    "                <span ng-bind=\"cur_cat_stat_data.sellMoney | bigNum\"></span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-footer\">\n" +
    "                <a ng-class=\"{'text-red':cur_cat_stat_data.sellMoneyGrowth<0,'text-green':cur_cat_stat_data.sellMoneyGrowth>0}\"><i class=\"material-icons\">{{cur_cat_stat_data.sellMoneyGrowth>0?'trending_up':'trending_down'}}</i>{{cur_cat_stat_data.sellMoneyGrowth}}%  \n" +
    "                </a>             \n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "    <div class=\"col s12 m3\">\n" +
    "        <div class=\"info-tile\">\n" +
    "            <div class=\"tile-icon\" style=\"left: -73px;\">\n" +
    "                <i class=\"material-icons\" style=\"color:#4db6ac\">insert_chart</i>\n" +
    "            </div>\n" +
    "            <div class=\"tile-heading\">\n" +
    "                <span>月销售量</span>\n" +
    "                <span style=\"font-size: 12px;float: right;\">更新于{{cur_cat_stat_data.date}}</span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-body\">\n" +
    "                <span ng-bind=\"cur_cat_stat_data.sellAmount | bigNum\"></span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-footer\">\n" +
    "                <a ng-class=\"{'text-red':cur_cat_stat_data.sellAmountGrowth<0,'text-green':cur_cat_stat_data.sellAmountGrowth>0}\"><i class=\"material-icons\">{{cur_cat_stat_data.sellAmountGrowth>0?'trending_up':'trending_down'}}</i>{{cur_cat_stat_data.sellAmountGrowth}}%\n" +
    "                </a>\n" +
    "                \n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "    <div class=\"col s12 m3\">\n" +
    "        <div class=\"info-tile\">\n" +
    "            <div class=\"tile-icon\">\n" +
    "                <i class=\"material-icons\" style=\"color:#B5CC18\">shopping_cart</i>\n" +
    "            </div>\n" +
    "            <div class=\"tile-heading\">\n" +
    "                <span>店铺数</span>\n" +
    "                <span style=\"font-size: 12px;float: right;\">更新于{{cur_cat_stat_data.date}}</span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-body\">\n" +
    "                <span ng-bind=\"cur_cat_stat_data.shopNum | bigNum\"></span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-footer\">\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "    <div class=\"col s12 m3\">\n" +
    "        <div class=\"info-tile\">\n" +
    "            <div class=\"tile-icon\">\n" +
    "                <i class=\"material-icons \" style=\"color:orange\">shopping_basket</i>\n" +
    "            </div>\n" +
    "            <div class=\"tile-heading\">\n" +
    "                <span>宝贝数</span>\n" +
    "                <span style=\"font-size: 12px;float: right;\">更新于{{cur_cat_stat_data.date}}</span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-body\">\n" +
    "                <span ng-bind=\"cur_cat_stat_data.productNum | bigNum\"></span>\n" +
    "            </div>\n" +
    "            <div class=\"tile-footer\">\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>")

$templateCache.put("../app/pages/dashBroad/topBrandTable/topBrandTableView.html","<section class=\"box\">\n" +
    "	<header class=\"panel_header\">\n" +
    "		<h2 class=\"title pull-left\">{{yuetitle}}品牌培训班</h2>\n" +
    "		<div class=\"actions panel_actions pull-right\">\n" +
    "			<style>\n" +
    "				.switch {}\n" +
    "\n" +
    "				.icon-default {\n" +
    "					color: #757575!important;\n" +
    "					opacity: 1;\n" +
    "				}\n" +
    "\n" +
    "				.switch .icon-secondary {\n" +
    "					opacity: .8;\n" +
    "				}\n" +
    "			</style>\n" +
    "			<span class=\"switch\">\n" +
    "				<i class=\"material-icons md-18\" ng-class = \"{'icon-default': chartType == 'pie','icon-secondary':chartType != 'pie'}\" ng-click = \"switchChartType('pie')\">pie_chart</i>\n" +
    "				<i class = \"material-icons md-18\" ng-class = \"{'icon-default': chartType == 'bar','icon-secondary':chartType != 'bar'}\" ng-click = \"switchChartType('bar')\">insert_chart</i>\n" +
    "				<i class=\"material-icons backLast md-18\" title=\"点我返回上一步\">reply</i>\n" +
    "				<i class=\"material-icons backTop md-18\" title = \"点我返回顶部 \">reply_all</i>\n" +
    "				<i class=\"material-icons md-18\" title =\"最鲜商机\" ng-click=\"toWordCloud()\" ng-show=\"isLastCategory && userInfo.version=='pro' \">local_offer</i>               \n" +
    "\n" +
    "			</span>\n" +
    "		</div>\n" +
    "	</header>\n" +
    "	<div class=\"content-body\">\n" +
    "		<table class=\"bordered highlight responsive-table\">\n" +
    "			<thead>\n" +
    "				<tr>\n" +
    "					<th data-field=\"id\">Name</th>\n" +
    "					<th data-field=\"name\">Item Name</th>\n" +
    "					<th data-field=\"price\">Item Price</th>\n" +
    "				</tr>\n" +
    "			</thead>\n" +
    "\n" +
    "			<tbody>\n" +
    "				<tr>\n" +
    "					<td>Alvin</td>\n" +
    "					<td>Eclair</td>\n" +
    "					<td>$0.87</td>\n" +
    "				</tr>\n" +
    "				<tr>\n" +
    "					<td>Alan</td>\n" +
    "					<td>Jellybean</td>\n" +
    "					<td>$3.76</td>\n" +
    "				</tr>\n" +
    "				<tr>\n" +
    "					<td>Jonathan</td>\n" +
    "					<td>Lollipop</td>\n" +
    "					<td>$7.00</td>\n" +
    "				</tr>\n" +
    "			</tbody>\n" +
    "		</table>\n" +
    "	</div>\n" +
    "</section>")

$templateCache.put("../app/pages/dashBroad/topShopTable/topShopTableView.html","<section class=\"box\">\n" +
    "	<header class=\"panel_header\">\n" +
    "		<h2 class=\"title pull-left\">{{yuetitle}}店铺培训班</h2>\n" +
    "		<div class=\"actions panel_actions pull-right\">\n" +
    "			<style>\n" +
    "				.switch {}\n" +
    "\n" +
    "				.icon-default {\n" +
    "					color: #757575!important;\n" +
    "					opacity: 1;\n" +
    "				}\n" +
    "\n" +
    "				.switch .icon-secondary {\n" +
    "					opacity: .8;\n" +
    "				}\n" +
    "			</style>\n" +
    "			<span class=\"switch\">\n" +
    "				<i class=\"material-icons md-18\" ng-class = \"{'icon-default': chartType == 'pie','icon-secondary':chartType != 'pie'}\" ng-click = \"switchChartType('pie')\">pie_chart</i>\n" +
    "				<i class = \"material-icons md-18\" ng-class = \"{'icon-default': chartType == 'bar','icon-secondary':chartType != 'bar'}\" ng-click = \"switchChartType('bar')\">insert_chart</i>\n" +
    "				<i class=\"material-icons backLast md-18\" title=\"点我返回上一步\">reply</i>\n" +
    "				<i class=\"material-icons backTop md-18\" title = \"点我返回顶部 \">reply_all</i>\n" +
    "				<i class=\"material-icons md-18\" title =\"最鲜商机\" ng-click=\"toWordCloud()\" ng-show=\"isLastCategory && userInfo.version=='pro' \">local_offer</i>               \n" +
    "\n" +
    "			</span>\n" +
    "		</div>\n" +
    "	</header>\n" +
    "	<div class=\"content-body\">\n" +
    "\n" +
    "		<table class=\"bordered highlight responsive-table\">\n" +
    "			<thead>\n" +
    "				<tr>\n" +
    "					<th data-field=\"id\">Name</th>\n" +
    "					<th data-field=\"name\">Item Name</th>\n" +
    "					<th data-field=\"price\">Item Price</th>\n" +
    "				</tr>\n" +
    "			</thead>\n" +
    "\n" +
    "			<tbody>\n" +
    "				<tr>\n" +
    "					<td><div class=\"chip\">\n" +
    "    Tag\n" +
    "  \n" +
    "  </div></td>\n" +
    "					<td>Eclair</td>\n" +
    "					<td>$0.87</td>\n" +
    "				</tr>\n" +
    "				<tr>\n" +
    "					<td>Alan</td>\n" +
    "					<td>Jellybean</td>\n" +
    "					<td>$3.76</td>\n" +
    "				</tr>\n" +
    "				<tr>\n" +
    "					<td>Jonathan</td>\n" +
    "					<td>Lollipop</td>\n" +
    "					<td>$7.00</td>\n" +
    "				</tr>\n" +
    "			</tbody>\n" +
    "		</table>\n" +
    "	</div>\n" +
    "</section>")
}]);
})();